<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@include file="/context/mytags.jsp"%>
<t:base type="jquery,easyui,tools,DatePicker"></t:base>
<div class="easyui-layout" fit="true">
  <div region="center" style="padding:0px;border:0px">
  <t:datagrid name="sjypzList" title="数据源配置" checkbox="true" actionUrl="sjypzController.do?datagrid" idField="id" fit="true">
   <t:dgCol title="编号" field="id" hidden="true"></t:dgCol>
   <t:dgCol title="pkDb" field="pkDb" hidden="true"  width="120"></t:dgCol>
   <t:dgCol title="数据库名称" field="fdName"   width="120"></t:dgCol>
   <t:dgCol title="用户名" field="fdUsr"   width="120"></t:dgCol>
   <t:dgCol title="密码" field="fdPw"   width="120"></t:dgCol>
   <t:dgCol title="数据连接" field="fdUrl"   width="120"></t:dgCol>
   <t:dgCol title="操作" field="opt" width="100"></t:dgCol>
   <t:dgDelOpt title="删除" url="sjypzController.do?del&id={id}" urlclass="ace_button"  urlfont="fa-trash-o"/>
   <t:dgToolBar title="录入" icon="icon-add" url="sjypzController.do?addorupdate" funname="add"></t:dgToolBar>
   <t:dgToolBar title="编辑" icon="icon-edit" url="sjypzController.do?addorupdate" funname="update"></t:dgToolBar>
  <%--  <t:dgToolBar title="查看" icon="icon-search" url="sjypzController.do?addorupdate" funname="detail"></t:dgToolBar> --%>
   <t:dgToolBar title="批量删除"  icon="icon-remove" url="sjypzController.do?doBatchDel" funname="deleteALLSelect"></t:dgToolBar>
  </t:datagrid>
  </div>
 </div>